package com.codeZ.FactoryPattern.factoryMethod.product.impl;

import com.codeZ.FactoryPattern.entity.AwardInfo;
import com.codeZ.FactoryPattern.entity.ResponseResult;
import com.codeZ.FactoryPattern.factoryMethod.product.IFreeGoods;

/**
 * 满减优惠具体实现类
 *
 * @author codeZhang
 * @Date 2024/8/1 14:40
 */
public class DiscountFreeGoods implements IFreeGoods {
    @Override
    public ResponseResult sendFreeGoods(AwardInfo awardInfo) {
        System.out.println("满减优惠");
        return new ResponseResult("200", "发放成功", null);
    }
}
